import { BasicColumn } from '/@/components/Table'

export const Columns: BasicColumn[] = [
    {
        title: 'ID',
        dataIndex: '_id',
    },
    {
        title: '分类名称',
        dataIndex: 'name',
        slots: { customRender: 'name' },
    },
]

export const FormConfig = {
    labelWidth: 100,
    schemas: [
        {
            field: 'name',
            label: '分类名称:',
            component: 'Input',
            componentProps: {
                placeholder: '请输入分类名称',
            },
            colProps: {
                xl: 8,
                xxl: 6,
            },
        },
    ],
}
